package com.wjq.house.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wjq
 * @since 2020-06-10
 */
@Data
@Accessors(chain = true)
@TableName("t_record")
public class Record extends Model<Record> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String name;
    private Integer age;
    private String phone;
    private String sex;
    private Integer kid;
    private Integer jid;
    private Integer did;
    private Integer gid;
    private Integer zid;
    private String rid;
    private BigDecimal ys;
    private BigDecimal ss;
    private Date create_time;
    private String status;
    private Date birthday;
    private Integer sid;
    private Integer cid;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
